home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / Backup.z / Backup
Text File  |  1998-10-20  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. BBBBaaaacccckkkkuuuupppp((((1111))))                                                            BBBBaaaacccckkkkuuuupppp((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Backup - backup the specified file or directory
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      BBBBaaaacccckkkkuuuupppp [ ----hhhh _h_o_s_t_n_a_m_e ] [ ----iiii ] [ ----tttt _t_a_p_e_d_e_v_i_c_e ]
  13.           [ _d_i_r_e_c_t_o_r_y__n_a_m_e | _f_i_l_e__n_a_m_e ]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      The _B_a_c_k_u_p command archives the named file or directory (the current
  17.      directory if none is specified) to the local or remote tape device.  It
  18.      can be used to make a full system backup by specifying the directory name
  19.      as ////.
  20.  
  21.      In case of a full backup, this command makes a list of the files in the
  22.      disk volume header and saves this information in a file which is then
  23.      stored on tape.  This file is used during crash recovery to restore a
  24.      damaged volume header.  Information about mounted filesystems and logical
  25.      volumes is also copied to the backup.  The current date is saved in the
  26.      file /_e_t_c/_l_a_s_t_b_a_c_k_u_p.
  27.  
  28.      Full system backups can be used with the system recovery mechanism from
  29.      the PROM maintenance mode (the miniroot is booted with mode 3 in the
  30.      normal way, but recovery is started, instead of installation).  See your
  31.      OOOOwwwwnnnneeeerrrr''''ssss MMMMaaaannnnuuuuaaaallll for more information on this procedure.
  32.  
  33.      The options and arguments to _B_a_c_k_u_p are:
  34.  
  35.      ----hhhh _h_o_s_t_n_a_m_e     If a tape drive attached to a remote host is used for
  36.                      backup, specify the name of the remote host with the ----hhhh
  37.                      _h_o_s_t_n_a_m_e option.  For remote backup to successfully work,
  38.                      you should have a TCP/IP network connection to the remote
  39.                      host and gggguuuueeeesssstttt login privileges on that host.
  40.  
  41.      ----iiii              If a backup of all files modified since the date
  42.                      specified in the /_e_t_c/_l_a_s_t_b_a_c_k_u_p file is desired, specify
  43.                      the ----iiii option.  This option is valid only when doing a
  44.                      complete backup.
  45.  
  46.      ----tttt _t_a_p_e_d_e_v_i_c_e   If the local or remote tape device is pointed to by a
  47.                      device file other than /_d_e_v/_t_a_p_e, specify the device with
  48.                      the ----tttt _t_a_p_e_d_e_v_i_c_e option.
  49.  
  50.      _d_i_r_e_c_t_o_r_y__n_a_m_e  Create a backup of the directory _d_i_r_e_c_t_o_r_y__n_a_m_e.
  51.  
  52.      _f_i_l_e__n_a_m_e       Create a backup of the file _f_i_l_e__n_a_m_e.
  53.  
  54.      The _B_a_c_k_u_p command uses _c_p_i_o(1) to perform the backup function.  Older
  55.      versions used _b_r_u(1), or _t_a_r(1).  The _R_e_s_t_o_r_e(1) command will handle any
  56.      of the 3 types of backups.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. BBBBaaaacccckkkkuuuupppp((((1111))))                                                            BBBBaaaacccckkkkuuuupppp((((1111))))
  71.  
  72.  
  73.  
  74. FFFFIIIILLLLEEEESSSS
  75.      /tmp/volhdrlist     contains the list of the root volume header files
  76.      /etc/lastbackup     contains the date of last full backup for incremental
  77.                          backups; the modification time of this file is used
  78.  
  79. NNNNOOOOTTTTEEEE
  80.      _B_a_c_k_u_p constructs a list of file names with ffffiiiinnnndddd to pipe to cpio.
  81.      Filenames with embedded white space will work this way, with the
  82.      exception of filenames with embedded newlines, since each filename in the
  83.      list is terminated by a newline.  This may sometimes produce confusing
  84.      error messages.
  85.  
  86. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  87.      List_tape(1), Restore(1), cpio(1).
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.